<?php

	class Profile {
		private $userId;
		private $username;
		private $password;
		private $firstName;
		private $lastName;
		private $dateCreated;
		private $dateOfBirth;
		private $email;
		private $weight;
		private $height;
		private $goalWeight;
		private $goalDate;
		//points related fields
		private $pointsId;
		private $dailyPoints;
		private $dailyPointsRemaining;
		private $weeklyPoints;
		private $weeklyPointsRemaining;
		private $activityPoints;
		private $activityPointsRemaining;

		/*These functions give public access through any of the private member  iables of this object*/
		public function __get($value){
			return $this->$value;
		}

		public function __set($var, $value){
			$this->$var = $value;
		}

	}
?>